﻿using RbacPermissionManage.Application.Admins.Dto;
using RbacPermissionManage.DoMain;

namespace RbacPermissionManage.Application.Admins
{
    public interface IAdminServices
    {
        Task<ResultDto> Register(RegisterDto registerDto);
        Task<LoginResultDto> LoginAsync(LoginDto loginDto);
        Task<ResultDto<(int, List<AdminListDto>)>> GetAdminAsync(AdminSearchDto searchDto, int pageIndex=1, int pageSize=10);
    }
}